{template "content","header_mini"}

    <div class="tonglan">
        <div class="inner-left">
            {template "content","sub-nav"}
            {template "content","contact"}
        </div>
        <div class="inner-right">
		
            <div id="form-guide">
                <div class="content">
                    <form method="post" action="?m=formguide&c=index&a=show&formid={$formid}&siteid=<?php echo $this->siteid;?>" name="myform" id="myform">
                        <table class="table_form" width="100%" cellspacing="0" cellpadding="5">
                            <tbody>
                             {loop $forminfos_data $field $info}
                                {if $info['formtype']=='omnipotent'}
                                    {loop $forminfos_data $_fm $_fm_value}
                                        {if $_fm_value['iscomnipotent']}
                                            {php $info['form'] = str_replace('{'.$_fm.'}',$_fm_value['form'],$info['form']);}
                                        {/if}
                                    {/loop}
                                {/if}
                                <tr>
                                  <th width="80">{if $info['star']} <font color="red">*</font>{/if} {$info['name']}
                                  </th>
                                  <td>{$info['form']}  {$info['tips']}</td>
                                </tr>
                            {/loop}
                                </tbody>
                                <tfoot>
                                    <tr>
                                        <td></td>
                                        <td><input type="submit" name="dosubmit" id="dosubmit" value=" 提交 " data-role="none"></td>
                                    </tr>
                                </tfoot>
                        </table>
                    </form>
                </div>
            </div>   
                 
        </div>
        <div class="clear"></div>
	</div>


{template "content","footer_mini"}